//
//  CourseWeb_VC.m
//  Run
//
//  Created by sxz on 16/4/6.
//  Copyright © 2016年 BetaTheta. All rights reserved.
//

#import "CourseWeb_VC.h"

@interface CourseWeb_VC ()<UIWebViewDelegate>
@property (nonatomic, strong) UIWebView *webView;

@end

@implementation CourseWeb_VC

- (void)viewDidLoad {
    [super viewDidLoad];

    self.webView = [[UIWebView alloc] initWithFrame:self.view.bounds];
    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@", _keyStr]]];
    
    _webView.delegate = self;
    [self.view addSubview:_webView];
    [self.webView loadRequest:request];
    
    
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
